package com.findme.gui;

import com.findme.findme.R;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class TelaSelecaoMembros extends Activity {

	public boolean lista_Membros(){
		ListView  lista  = (ListView) findViewById(R.id.lstViewMembros);
		

		lista.setAdapter(new ArrayAdapter<String>(this,
	            android.R.layout.simple_list_item_1, 
	            new String[] {"1", "FRED", "fred.nogueira.ti@gmail.com",
				              "2", "VENGELLES", "vangelles@gmail.com"}));	
		
		return true;		
	}
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_tela_selecao_membros);
		
		this.lista_Membros();
		
		/*lista grupos*/
		ListView listaGrupos = (ListView) findViewById(R.id.lstViewMembros);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.tela_selecao_membros, menu);
		return true;
	}

}
